package com.mb.app.service;

import com.baomidou.mybatisplus.service.IService;
import com.mb.app.domain.TbAppInfo;
import com.mb.app.domain.TbBannerInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author liliping
 * @since 2019-03-21
 */
public interface ITbBannerInfoService extends IService<TbBannerInfo> {

    /**
     * 分页查询
     * @param map
     * @return
     */
    public List<TbBannerInfo> queryList(Map<String, Object> map);

    public int count(Map<String, Object> map);

    public int save(TbBannerInfo TbBannerInfo);

    public int update(TbBannerInfo TbBannerInfo);

    public int remove(Long channelId,Long delUserId);

    public TbBannerInfo getDtl(Long channelId);

    boolean channelNameCodeExit(Map<String, Object> params);

    public int status(Long bannerId,Integer status);
}
